//
//  HYMDatePicker.h
//  HYMDatePicker
//
//  Created by wmm on 15/11/5.
//  Copyright © 2015年 hanen. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol HYMDatePickerDelegate;
@interface HYMDatePicker : UIPickerView
{
    NSString *yearStr;
    NSString *monthStr;
    NSString *dayStr;

}
@property (strong, nonatomic) id<HYMDatePickerDelegate> delegateDiy;
//已选择时间
@property (strong, nonatomic) NSString *yearDate;
@property (strong, nonatomic) NSString *monthDate;
@property (strong, nonatomic) NSString *dayDate;

@end

@protocol HYMDatePickerDelegate <NSObject>

@optional
- (void)currentSelectedDate:(NSString *)yearStr month:(NSString *)monthStr day:(NSString *)dayStr;
@end